package com.basic.auth.controller.req;

import com.basic.common.result.WebPageParam;

import java.util.List;

/**
 * 用户角色请求参数
 *
 * @author
 * @version 1.0
 * @Date
 */
//@ApiModel
public class AuthRoleMemberReqForm extends WebPageParam {
    /**
     * 多用户角色用“|”分割
     */
//    @NotNull(message = "000001|角色编码s", groups = {VldGroup1th.class})
//    @ApiModelProperty(value = "角色编码s", example = "zuzhang|siyangyuan")
    private String roleCodes;
    /**
     * 用户角色编码
     */
//    @ApiModelProperty(value = "用户角色编码", example = "changzhang")
    private String roleCode;

    /**
     * 多用户角色集合
     */
    private List<String> roleCodeList;

    /**
     * 用户编号
     */
//    @NotNull(message = "000001|用户boid", groups = {VldGroup1th.class, VldGroup3th.class})
//    @ApiModelProperty(value = "用户boid", example = "110118082220330001")
    private Long boId;
    /**
     * 用户id集合
     */
//    @ApiModelProperty(value = "用户id集合", example = "[110118082220330001,123]")
    private List<String> boIdList;
    /**
     * 子系统编号
     */
//    @NotNull(message = "000001|子系统id", groups = {VldGroup2th.class})
//    @ApiModelProperty(value = "子系统id", example = "2")
    private Short subSystemId;
    /**
     * 系统编号
     */
//    @NotNull(message = "000001|系统id", groups = {VldGroup2th.class, VldGroup3th.class})
//    @ApiModelProperty(value = "系统id", example = "1")
    private Short systemId;
    /**
     * 业务类型
     */
//    @NotNull(message = "000001|业务类型", groups = {VldGroup1th.class, VldGroup3th.class})
//    @ApiModelProperty(value = "业务类型", example = "menu")
    private String busType;
    /**
     * 业务编号
     */
//    @NotNull(message = "000001|业务id", groups = {VldGroup1th.class, VldGroup3th.class})
//    @ApiModelProperty(value = "业务id", example = "123")
    private String busId;
    /**
     * 用户功能id集合，多个功能id用“|”分割，有值则添加到用户功能表，没有则不添加
     */
//    @ApiModelProperty(value = "用户功能id，多id用|分割", example = "2|3|4")
    private String funcIds;
    /**
     * 是否关连用户功能， 0-不是1-是
     */
//    @NotNull(message = "000001|是否关联修改用户功能标识", groups = {VldGroup1th.class, VldGroup3th.class})
//    @ApiModelProperty(value = "是否关连用户功能， 0-否1-是", example = "1")
    private Integer isRelationFunc;
    /**
     * 角色代码集合
     */
//    @ApiModelProperty(value = "角色代码集合", example = "SUPER,GUANGLIYUAN")
    /**
     * 功能code
     */
    private String code;


    private String loginNameLike;

    private String oprBoId;

    public String getOprBoId() {
        return oprBoId;
    }

    public void setOprBoId(String oprBoId) {
        this.oprBoId = oprBoId;
    }

    public String getLoginNameLike() {
        return loginNameLike;
    }

    public void setLoginNameLike(String loginNameLike) {
        this.loginNameLike = loginNameLike;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<String> getBoIdList() {
        return boIdList;
    }

    public void setBoIdList(List<String> boIdList) {
        this.boIdList = boIdList;
    }

    public Integer getIsRelationFunc() {
        return isRelationFunc;
    }

    public void setIsRelationFunc(Integer isRelationFunc) {
        this.isRelationFunc = isRelationFunc;
    }

    public String getBusType() {
        return busType;
    }

    public void setBusType(String busType) {
        this.busType = busType;
    }

    public String getBusId() {
        return busId;
    }

    public void setBusId(String busId) {
        this.busId = busId;
    }

    public String getRoleCodes() {
        return roleCodes;
    }

    public void setRoleCodes(String roleCodes) {
        this.roleCodes = roleCodes;
    }

    public String getFuncIds() {
        return funcIds;
    }

    public void setFuncIds(String funcIds) {
        this.funcIds = funcIds;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public Long getBoId() {
        return boId;
    }

    public void setBoId(Long boId) {
        this.boId = boId;
    }

    public Short getSubSystemId() {
        return subSystemId;
    }

    public void setSubSystemId(Short subSystemId) {
        this.subSystemId = subSystemId;
    }

    public Short getSystemId() {
        return systemId;
    }

    public void setSystemId(Short systemId) {
        this.systemId = systemId;
    }

    public List<String> getRoleCodeList() {
        return roleCodeList;
    }

    public void setRoleCodeList(List<String> roleCodeList) {
        this.roleCodeList = roleCodeList;
    }


    @Override
    public String toString() {
        return "AuthRoleMemberReqForm{" +
                ", roleCodes='" + roleCodes + '\'' +
                ", roleCode='" + roleCode + '\'' +
                ", boId=" + boId +
                ", boIdList=" + boIdList +
                ", subSystemId=" + subSystemId +
                ", systemId=" + systemId +
                ", busType='" + busType + '\'' +
                ", busId='" + busId + '\'' +
                ", funcIds='" + funcIds + '\'' +
                ", isRelationFunc=" + isRelationFunc +
                '}';
    }
}
